/* HOMEPAGE BLOCKS */
.align-elem {
  float: none;
  display: inline-block;
}
article.block.small {
  margin: 10px;
  overflow: hidden;
}
@media (max-width: 460px) {
  article.block.small {
    margin: 5px;
  }
}
article.block.small.doublespan {
  height: 130px;
}
article.block.small.doublespan div {
  height: 100%;
  position: relative;
  background: no-repeat 50%;
  background-size: cover;
}
article.block.small.doublespan div i {
  background: #000;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  -transition: 0.5s ease-in-out;
}
article.block.small.doublespan div a {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  z-index: 10;
}
article.block.small.doublespan div a h2 {
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  font-size: 16px;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 400;
  margin-top: 0;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
article.block.small.doublespan div a span {
  display: inline;
  width: 100%;
  font-weight: 400;
  font-size: 12px;
}
article.block.small.doublespan div a span.icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border: 1px solid #fff;
  border-radius: 15px;
  padding: 0px;
  margin-bottom: 6px;
  position: relative;
}
article.block.small.doublespan div a span.icon:before {
  font-size: 21px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -10px;
  margin-top: -11px;
  text-align: center;
}
article.block.small.doublespan div a div.post_location {
  width: 100%;
  float: left;
  text-align: center;
  position: relative;
  top: 0;
  height: auto;
}
article.block.small.doublespan div a div.post_location span.separator {
  display: block;
  border: 1px solid #fff;
  margin: 8px auto;
  width: 31px;
}
article.block.small.doublespan div a .cont-video {
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  -transition: opacity 0.5s ease-in-out;
  opacity: 0;
  margin-top: 20px;
}
article.block.small.doublespan div a .boxPlay {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
}
article.block.small.doublespan div a .boxPlay:before {
  font-size: 50px;
}
article.block.small.doublespan div:hover i {
  opacity: 0;
}
article.block.small.doublespan div:hover .cont-video {
  opacity: 1;
  background: url(images/bg_opacity_blue_form_hp.png) repeat 0 0;
  padding: 10px 10px 20px 10px;
  margin: 10px;
  height: auto;
}
article.block.small.doublespan div:hover .boxPlay {
  opacity: 0;
}
article.block.small.category {
  height: 280px;
}
@media (max-width: 460px) {
  article.block.small.category {
    margin: 10px 0;
  }
}
article.block.small.category div {
  height: 100%;
  position: relative;
  background: no-repeat 50%;
  background-size: cover;
}
article.block.small.category div a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
}
article.block.small.category div a h2 {
  width: 100%;
  text-align: center;
  color: #f9fbfc;
  font-size: 32px;
  position: absolute;
  font-weight: 700;
  top: 30%;
  font-family: 'Roboto Condensed', sans-serif !important;
  margin: 0;
}
@media (max-width: 767px) {
  article.block.small.category div a h2 {
    top: 21%;
  }
}
@media (max-width: 460px) {
  article.block.small.category div a h2 {
    top: 15%;
  }
}
article.block.small.category div a div {
  width: 100%;
  height: 80px;
  position: absolute;
  bottom: 0;
  background-image: url("images/bg_block_small.png");
  background-repeat: repeat-x;
}
@media (max-width: 460px) {
  article.block.small.category div a div {
    height: 80px;
  }
}
@media (max-width: 767px) {
  article.block.small.category div a div {
    height: 100px;
  }
}
article.block.small.category div a div span {
  display: block;
  color: #fff;
}
article.block.small.category div a div span.left {
  width: 40%;
  float: left;
  text-align: center;
  padding: 10px 18px;
  font-size: 44px;
  height: 100%;
}
@media (max-width: 460px) {
  article.block.small.category div a div span.left {
    padding: 20px;
  }
}
@media (max-width: 767px) {
  article.block.small.category div a div span.left {
    padding: 20px;
  }
}
article.block.small.category div a div span.left:before {
  font-size: 60px;
}
article.block.small.category div a div span.right {
  float: right;
  width: 60%;
  font-size: 14px;
  line-height: 1.2;
  padding: 16px 20px 16px 0;
  overflow: hidden;
  height: 81%;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 400;
}
article.block.medium {
  height: 195px;
  margin: 10px;
}
@media (max-width: 460px) {
  article.block.medium {
    margin: 5px;
  }
}
article.block.medium div {
  height: 100%;
  width: 100%;
  position: relative;
  background: no-repeat 50%;
  background-size: cover;
}
article.block.medium div a {
  display: block;
  position: absolute;
  z-index: 10;
  height: 100%;
  width: 100%;
}
article.block.medium div a span {
  position: absolute;
  bottom: -11px;
  height: 30px;
  padding: 4px 20px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  right: 15%;
  left: 15%;
  background: #1da3a8;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 18px;
}
@media (max-width: 460px) {
  article.block.medium div a span {
    right: 5%;
    left: 5%;
  }
}
article.block.large {
  height: 280px;
  position: relative;
  margin: 10px;
  overflow: hidden;
}
@media (max-width: 460px) {
  article.block.large {
    margin: 5px;
  }
}
article.block.large div {
  height: 100%;
  position: relative;
  background: no-repeat 50%;
  background-size: cover;
}
article.block.large div a {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
  position: absolute;
  color: #fff;
  text-transform: uppercase;
  padding: 13px;
  text-align: center;
}
article.block.large div a h2 {
  display: block;
  width: 70%;
  height: 45px;
  margin: 0 auto;
  background-image: url("images/bg_block_small.png");
  background-repeat: repeat-x;
  position: relative;
  top: 75%;
  padding: 10px;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700;
  font-size: 19px;
}
article.block.large .location .place {
  position: absolute;
  left: 42%;
  top: 30%;
  padding-bottom: 10px;
  border-bottom: 3px solid #fff;
  height: 90px;
}
article.block.large .location h2 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 62%;
  width: 100%;
  font-family: 'Roboto Condensed', sans-serif !important;
}
article.block.large .location h2 span {
  color: #c3c3c4;
  font-weight: 400;
  font-size: 13px;
  display: block;
  text-transform: none;
  padding-top: 5px;
}
/* Ricerca Home */
#search-container h2 {
  color: #686868;
  font-size: 36px;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700;
  margin-bottom: 30px;
}
#search-container .progress-bar-warning {
  color: #fff;
  padding: 3px;
  font-weight: 700;
  font-family: 'Roboto Condensed', sans-serif !important;
  margin-bottom: 30px;
}
